/**
 * 
 */
package test.mock;

import org.junit.Test;

/**
 * @author Coddy created on 2010-4-25
 * 
 */
public class ExceptionTester
{

	@Test(expected = IndexOutOfBoundsException.class)
	public void elementAt()
	{
		int[] intArray = new int[10];

		int i = intArray[20]; // Should throw IndexOutOfBoundsException
	}

}
